class GroupSimpleEntity {
  //团规格标识+
  String groupSpecId = "";
  //团规格类型+
  String groupSpecType = "";
  //名称
  String name = "";
  //图片文件路径
  String imgUrl = "";
  //推广应支付金额
  String rechargeVal = "";
  //单团人数阀值
  String sucMenCt = "";
  //当天最新团实例标识
  String lastGroupInsId = "";
  //没有这字段，靠计算得出
  //当天最新团实例参与人数
  String todayLastGroupInsJoinCt = "";

  GroupSimpleEntity(
      {this.groupSpecId,
      this.groupSpecType,
      this.name,
      this.imgUrl,
      this.rechargeVal,
      this.sucMenCt,
      this.lastGroupInsId,
      this.todayLastGroupInsJoinCt});

  GroupSimpleEntity.fromJson(Map<String, dynamic> json) {
    groupSpecId = json['groupSpecId'];
    groupSpecType = json['groupSpecType'];
    name = json['name'];
    imgUrl = json['imgUrl'];
    rechargeVal = json['rechargeVal'];
    sucMenCt = json['sucMenCt'];
    lastGroupInsId = json['lastGroupInsId'];
    todayLastGroupInsJoinCt = json['todayLastGroupInsJoinCt'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['groupSpecId'] = this.groupSpecId;
    data['groupSpecType'] = this.groupSpecType;
    data['name'] = this.name;
    data['imgUrl'] = this.imgUrl;
    data['rechargeVal'] = this.rechargeVal;
    data['sucMenCt'] = this.sucMenCt;
    data['lastGroupInsId'] = this.lastGroupInsId;
    data['todayLastGroupInsJoinCt'] = this.todayLastGroupInsJoinCt;
    return data;
  }
}
